#!/bin/bash

echo "***************"
echo "remap the device serial port(ttyUSBX) to fdilink_ahrs"
echo "start copy fdilink_ahrs.rules to  /etc/udev/rules.d/"
sudo cp fdilink_ahrs.rules  /etc/udev/rules.d

echo "Restarting udev"
sudo service udev reload
sleep 2
sudo service udev restart
echo "finish"
echo "***************"

./install_for_noetic.sh